+2005-08-26 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkicontheme.c (theme_lookup_icon): Avoid an uninitialized
+ variable warning, pointed out by Colin Walters. (#314585)
+
2005-08-26 Tor Lillqvist <tml@novell.com>
* gtk/gtkfilesystemwin32.c: Remove some ifdeffed out debugging
+2005-08-26 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkicontheme.c (theme_lookup_icon): Avoid an uninitialized
+ variable warning, pointed out by Colin Walters. (#314585)
+
2005-08-26 Tor Lillqvist <tml@novell.com>
* gtk/gtkfilesystemwin32.c: Remove some ifdeffed out debugging
suffix = suffix & ~HAS_ICON_FILE;
}
else
- suffix = GPOINTER_TO_UINT (g_hash_table_lookup (dir->icons, icon_name));
+ suffix = GPOINTER_TO_UINT (g_hash_table_lookup (dir->icons, icon_name));
GTK_NOTE (ICONTHEME,
g_print ("get_icon_suffix%s %d\n", dir->cache ? " (cached)" : "", suffix));
if (min_dir)
{
GtkIconInfo *icon_info = icon_info_new ();
- gboolean has_icon_file;
+ gboolean has_icon_file = FALSE;
suffix = theme_dir_get_icon_suffix (min_dir, icon_name, &has_icon_file);
suffix = best_suffix (suffix, allow_svg);